/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml;

import java.math.BigInteger;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Sql Listener Type</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fi.jab.esb.config.xml.SqlListenerType#getSqlMessageFilter <em>Sql Message Filter</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.SqlListenerType#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}</li>
 * </ul>
 * </p>
 *
 * @see fi.jab.esb.config.xml.XmlPackage#getSqlListenerType()
 * @model extendedMetaData="name='sql-listener_._type' kind='elementOnly'"
 * @generated
 */
public interface SqlListenerType extends Listener
{
  /**
   * Returns the value of the '<em><b>Sql Message Filter</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * A SQL filter.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Sql Message Filter</em>' containment reference.
   * @see #setSqlMessageFilter(SqlMessageFilterType)
   * @see fi.jab.esb.config.xml.XmlPackage#getSqlListenerType_SqlMessageFilter()
   * @model containment="true"
   *        extendedMetaData="kind='element' name='sql-message-filter' namespace='##targetNamespace'"
   * @generated
   */
  SqlMessageFilterType getSqlMessageFilter();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.SqlListenerType#getSqlMessageFilter <em>Sql Message Filter</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Sql Message Filter</em>' containment reference.
   * @see #getSqlMessageFilter()
   * @generated
   */
  void setSqlMessageFilter(SqlMessageFilterType value);

  /**
   * Returns the value of the '<em><b>Poll Frequency Seconds</b></em>' attribute.
   * The default value is <code>"10"</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 								The frequency with which this listener polls the db in seconds. Defaults to 10 seconds.
   * 							
   * <!-- end-model-doc -->
   * @return the value of the '<em>Poll Frequency Seconds</em>' attribute.
   * @see #isSetPollFrequencySeconds()
   * @see #unsetPollFrequencySeconds()
   * @see #setPollFrequencySeconds(BigInteger)
   * @see fi.jab.esb.config.xml.XmlPackage#getSqlListenerType_PollFrequencySeconds()
   * @model default="10" unsettable="true" dataType="fi.jab.esb.config.xml.PollFrequencySecondsType"
   *        extendedMetaData="kind='attribute' name='poll-frequency-seconds'"
   * @generated
   */
  BigInteger getPollFrequencySeconds();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.SqlListenerType#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Poll Frequency Seconds</em>' attribute.
   * @see #isSetPollFrequencySeconds()
   * @see #unsetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @generated
   */
  void setPollFrequencySeconds(BigInteger value);

  /**
   * Unsets the value of the '{@link fi.jab.esb.config.xml.SqlListenerType#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #isSetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @see #setPollFrequencySeconds(BigInteger)
   * @generated
   */
  void unsetPollFrequencySeconds();

  /**
   * Returns whether the value of the '{@link fi.jab.esb.config.xml.SqlListenerType#getPollFrequencySeconds <em>Poll Frequency Seconds</em>}' attribute is set.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return whether the value of the '<em>Poll Frequency Seconds</em>' attribute is set.
   * @see #unsetPollFrequencySeconds()
   * @see #getPollFrequencySeconds()
   * @see #setPollFrequencySeconds(BigInteger)
   * @generated
   */
  boolean isSetPollFrequencySeconds();

} // SqlListenerType
